@isTest
private class ExWareHouseUpdateSchedulableTest {
    static testMethod void testMethod1() {
        
        Account a = new Account();
        a.Name = '111';
        
        insert a;
        
        
        ExWareHouse__c e1 = new ExWareHouse__c();
        e1.Account__c = a.Id;
        e1.custcode__c = '123456';
        
        insert e1;
        Account a1 = [select AccountNumber from Account where Id = : a.Id];
        a1.AccountNumber = '123456';
        update a1;
        
        ExWareHouseUpdateSchedulable sc = new ExWareHouseUpdateSchedulable();
        String fmt = '0 10 0 1-31 1-12 ? 2017-2098';//每天执行一次
        System.schedule('每天刷新客户联系人信息完整度 计划任务；'+Datetime.now().format('yyyyMMddHHmmss'), fmt, sc); 
    }

}